package cn.stylefeng.guns.modular.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author allen
 * @date 2021/4/11 17:31
 * @version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "wms_logistic_order")
public class WmsLogisticOrderEntity implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 销售出库单id
     */
    @TableField(value = "sale_delivery_order_id")
    private Long saleDeliveryOrderId;

    /**
     * 物流单号
     */
    @TableField(value = "logistic_code")
    private String logisticCode;

    /**
     * 物流单内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create")
    private Date gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_SALE_DELIVERY_ORDER_ID = "sale_delivery_order_id";

    public static final String COL_LOGISTIC_CODE = "logistic_code";

    public static final String COL_CONTENT = "content";

    public static final String COL_GMT_CREATE = "gmt_create";

    public static final String COL_GMT_MODIFIED = "gmt_modified";
}